﻿using System.Collections.ObjectModel;
using System.Xml.Serialization;

namespace Wix.Win8SetupBootstrapper.Classes
{
    [XmlRoot("BootstrapperApplicationData", IsNullable = false, Namespace = "http://schemas.microsoft.com/wix/2010/BootstrapperApplicationData")]
    public class BundleInfo
    {
        [XmlElement("WixBundleProperties")]
        public BundleAttributes BundleAttributes
        {
            get;
            set;
        }
        [XmlElement("WixPackageProperties")]
        public Collection<PackageInfo> Packages { get; private set; }

        [XmlElement("WixPackageFeatureInfo")]
        public Collection<FeatureInfo> PackageFeatures { get; private set; }

        public BundleInfo()
        {
            this.Packages = new Collection<PackageInfo>();
            this.PackageFeatures = new Collection<FeatureInfo>();
        }
    }
}